how to create a multiplication table in javascript